package gov.pbc.nn.kjgl.maintenance.entity;

import gov.pbc.nn.core.entity.BaseEntity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 系统应急方案
 * 
 * @author Administrator
 * 
 */
@Entity
@Table(name = "T_SYS_EMERGENCY_SCHEME")
public class SysEmergencyScheme extends BaseEntity {

	private static final long serialVersionUID = -8522858609922629628L;

	@Column(name = "SYS_ID_", length = 60)
	private String sysId;
	@Column(name = "SYS_NAME_", length = 120)
	@PropertyDef(label = "系统名称")
	private String sysName;
	@Column(name = "TITLE_", length = 120)
	@PropertyDef(label = "预案标题")
	private String title;
	@Column(name = "RANGE_")
	@PropertyDef(label = "适用范围", description = "0:南宁中支；1：全区")
	private int range;
	@Column(name = "PURPOSE_", length = 1000)
	@PropertyDef(label = "目的")
	private String purpose;
	@Column(name = "SCHEME_FILE_ID_", length = 60)
	@PropertyDef(label = "方案文件")
	private String schemeFileId;
	
	@Column(name = "STATE_")
	@PropertyDef(label = "状态",description = "1：初始，5：提交（审核中），10：已经完成，20：撤销（未通过）")
	private int state;
	
	@Column(name = "ZDCTO_", length = 60)
	@PropertyDef(label = "技术主管Id")
	private String zdcto;
	
	@Column(name = "ZDCTO_NAME_", length = 60)
	@PropertyDef(label = "技术主管名字")
	private String zdctoName;
	
	
	public String getZdctoName() {
		return zdctoName;
	}

	public void setZdctoName(String zdctoName) {
		this.zdctoName = zdctoName;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getZdcto() {
		return zdcto;
	}

	public void setZdcto(String zdcto) {
		this.zdcto = zdcto;
	}
	

	public String getSysId() {
		return sysId;
	}

	public void setSysId(String sysId) {
		this.sysId = sysId;
	}

	public String getSysName() {
		return sysName;
	}

	public void setSysName(String sysName) {
		this.sysName = sysName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getRange() {
		return range;
	}

	public void setRange(int range) {
		this.range = range;
	}

	public String getPurpose() {
		return purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}

	public String getSchemeFileId() {
		return schemeFileId;
	}

	public void setSchemeFileId(String schemeFileId) {
		this.schemeFileId = schemeFileId;
	}

}
